﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FishServe.Core
{
    public class ManifestRegisteredTypeInfo
    {
        private string _registeredName = String.Empty;
        private RegisteredTypeLifetime _lifetime = RegisteredTypeLifetime.Undeclared;
        private ManifestModuleTypeInfo _fromTypeInfo;
        private ManifestModuleTypeInfo _toTypeInfo;

        public string RegisteredName
        {
            get{ return _registeredName; }
            set{ _registeredName = value; }
        }

        public RegisteredTypeLifetime Lifetime
        {
            get{ return _lifetime; }
            set{ _lifetime = value; }
        }

        public ManifestModuleTypeInfo FromTypeInfo 
        {
            get{ return _fromTypeInfo; }
            set{ _fromTypeInfo = value; }
        }

        public ManifestModuleTypeInfo ToTypeInfo
        {
            get{ return _toTypeInfo; }
            set{ _toTypeInfo = value; }
        }

        internal ManifestRegisteredTypeInfo()
        { }
    }
}
